package com.huawei.appgallery.foundation.store.bean.spilt;

import com.huawei.appgallery.jsonkit.api.JsonBean;
import com.huawei.appgallery.serverreqkit.api.bean.BaseResponseBean;
import java.util.List;

public class GetApksInfoResponse extends BaseResponseBean {
    private String resultDesc_;
    private List<ModuleInfo> targetInfo_;

    public static class ModuleInfo extends JsonBean {
        private List<SplitApkInfo> apks_;
        private String bundleTarget_;
        private int featureTitleStringId_;
        private String featureValue_;

        public String ॱ() {
            return this.bundleTarget_;
        }

        public String ˎ() {
            return this.featureValue_;
        }

        @Deprecated
        public String ˏ() {
            return this.featureValue_;
        }

        public int ˋ() {
            return this.featureTitleStringId_;
        }

        public List<SplitApkInfo> ˊ() {
            return this.apks_;
        }
    }

    public static class Slice extends JsonBean {
        private String hash_;
        private String sliceIndex_;
        private int sliceNum_;

        public String ॱ() {
            return this.sliceIndex_;
        }

        public String ˋ() {
            return this.hash_;
        }
    }

    public static class SplitApkInfo extends JsonBean {
        private long fileSize_;
        private int fileType_;
        private String sha256_;
        private List<Slice> slices_;
        private String url_;

        public String ˏ() {
            return this.sha256_;
        }

        public long ˊ() {
            return this.fileSize_;
        }

        public String ˋ() {
            return this.url_;
        }

        public int ˎ() {
            return this.fileType_;
        }

        public List<Slice> ॱ() {
            return this.slices_;
        }
    }

    public List<ModuleInfo> ˊ() {
        return this.targetInfo_;
    }

    public boolean ˏ() {
        return getResponseCode() == 0 && getRtnCode_() == 0;
    }
}
